{"id":15562912,"url":"https://github.com/neobeppe/gtforcetouchgesturerecognizer","last_synced_at":"2025-10-08T08:10:09.148Z","repository":{"id":56912411,"uuid":"83411045","full_name":"neobeppe/GTForceTouchGestureRecognizer","owner":"neobeppe","description":"Lightweight library to use 3D touch as gesture recognizer on iOS","archived":false,"fork":false,"pushed_at":"2019-11-25T12:24:03.000Z","size":49,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T23:14:30.686Z","etag":null,"topics":["3d-touch","gesture-recognizer","swift"],"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/neobeppe.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-02-28T08:57:24.000Z","updated_at":"2019-11-25T12:24:05.000Z","dependencies_parsed_at":"2022-08-21T03:20:12.426Z","dependency_job_id":null,"html_url":"https://github.com/neobeppe/GTForceTouchGestureRecognizer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neobeppe%2FGTForceTouchGestureRecognizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neobeppe%2FGTForceTouchGestureRecognizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neobeppe%2FGTForceTouchGestureRecognizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neobeppe%2FGTForceTouchGestureRecognizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neobeppe","download_url":"https://codeload.github.com/neobeppe/GTForceTouchGestureRecognizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528879,"owners_count":21445518,"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":["3d-touch","gesture-recognizer","swift"],"created_at":"2024-10-02T16:16:44.190Z","updated_at":"2025-10-08T08:10:04.117Z","avatar_url":"https://github.com/neobeppe.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GTForceTouchGestureRecognizer\n\n[![CI Status](http://img.shields.io/travis/neobeppe/GTForceTouchGestureRecognizer.svg?style=flat)](https://travis-ci.org/neobeppe/GTForceTouchGestureRecognizer)\n[![Coverage Status](https://coveralls.io/repos/github/neobeppe/GTForceTouchGestureRecognizer/badge.svg?branch=swift4)](https://coveralls.io/github/neobeppe/GTForceTouchGestureRecognizer?branch=swift4)\n[![Version](https://img.shields.io/cocoapods/v/GTForceTouchGestureRecognizer.svg?style=flat)](http://cocoapods.org/pods/GTForceTouchGestureRecognizer)\n[![License](https://img.shields.io/cocoapods/l/GTForceTouchGestureRecognizer.svg?style=flat)](http://cocoapods.org/pods/GTForceTouchGestureRecognizer)\n[![Platform](https://img.shields.io/cocoapods/p/GTForceTouchGestureRecognizer.svg?style=flat)](http://cocoapods.org/pods/GTForceTouchGestureRecognizer)\n\n## Requirements\n\niOS 10 is required.\n\n## Installation\n\n#### CocoaPods\n\nGTForceTouchGestureRecognizer is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"GTForceTouchGestureRecognizer\"\n```\n\n#### Swift Package Manager\n\nYou can use [The Swift Package Manager](https://swift.org/package-manager) to install `GTForceTouchGestureRecognizer` by adding the proper description to your `Package.swift` file:\n\n```swift\nimport PackageDescription\n\nlet package = Package(\n    name: \"YOUR_PROJECT_NAME\",\n    targets: [],\n    dependencies: [\n        .Package(url: \"https://github.com/neobeppe/GTForceTouchGestureRecognizer.git\"),\n    ]\n)\n```\n\nNote that the [Swift Package Manager](https://swift.org/package-manager) is still in early design and development, for more information checkout its [GitHub Page](https://github.com/apple/swift-package-manager)\n\n#### Manually\n\nTo use this library in your project manually you may:\n\n1.  for Projects, just drag GTForceTouchGestureRecognizer.swift to the project tree\n2.  for Workspaces, include the whole GTForceTouchGestureRecognizer.xcodeproj\n\n## Usage\n\nYou can simply instantiate an GTForceTouchGestureRecognizer and add it to a view.\n\n```swift\nlet forceTouchGestureRecognizer = GTForceTouchGestureRecognizer(target: self, action: #selector(someFunction:))\nview.addGestureRecognizer(forceTouchGestureRecognizer)\n```\n\nOptionally you can specify:\n*   force percentage `threshold`, which is 0.75 by default\n*   `hardTriggerMinTime` minimum time after force touch has began\n\n## License\n\nGTForceTouchGestureRecognizer 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%2Fneobeppe%2Fgtforcetouchgesturerecognizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneobeppe%2Fgtforcetouchgesturerecognizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneobeppe%2Fgtforcetouchgesturerecognizer/lists"}