{"id":21389350,"url":"https://github.com/isaced/ptfaketouch","last_synced_at":"2025-03-16T12:46:20.267Z","repository":{"id":70075690,"uuid":"182916652","full_name":"isaced/PTFakeTouch","owner":"isaced","description":"Simulate touch events for iOS［User mode］","archived":false,"fork":false,"pushed_at":"2019-04-23T06:26:31.000Z","size":316,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T00:29:39.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/isaced.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-23T03:03:16.000Z","updated_at":"2023-03-17T12:16:15.000Z","dependencies_parsed_at":"2023-02-28T08:01:01.034Z","dependency_job_id":null,"html_url":"https://github.com/isaced/PTFakeTouch","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/isaced%2FPTFakeTouch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaced%2FPTFakeTouch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaced%2FPTFakeTouch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaced%2FPTFakeTouch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isaced","download_url":"https://codeload.github.com/isaced/PTFakeTouch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871650,"owners_count":20361378,"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-22T12:26:04.837Z","updated_at":"2025-03-16T12:46:20.237Z","avatar_url":"https://github.com/isaced.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PTFakeTouch\n\nSimulate touch events for iOS［User mode］\n\n- Added Podspec\n- Lib Architectures\n\n```\nlipo -info PTFakeTouch.framework/PTFakeTouch\nArchitectures in the fat file: PTFakeTouch.framework/PTFakeTouch are: armv7 i386 x86_64 arm64\n```\n\n**Use**\n\n```objective-c\n#import \u003cPTFakeTouch/PTFakeMetaTouch.h\u003e\n\n// Click a point at screen\nNSInteger pointId = [PTFakeMetaTouch fakeTouchId:[PTFakeMetaTouch getAvailablePointId] AtPoint:CGPointMake(100,100) withTouchPhase:UITouchPhaseBegan];\n[PTFakeMetaTouch fakeTouchId:pointId AtPoint:CGPointMake(100,100) withTouchPhase:UITouchPhaseEnded];\n\n// Swipe screen\nNSInteger pointId = [PTFakeMetaTouch fakeTouchId:[PTFakeMetaTouch getAvailablePointId] AtPoint:CGPointMake(100,100) withTouchPhase:UITouchPhaseBegan];\n[PTFakeMetaTouch fakeTouchId:pointId AtPoint:CGPointMake(300,300) withTouchPhase:UITouchPhaseMoved];\n[PTFakeMetaTouch fakeTouchId:pointId AtPoint:CGPointMake(300,300) withTouchPhase:UITouchPhaseEnded];\n```\n\n**via**\n\n- https://github.com/Ret70/PTFakeTouch\n- https://github.com/zjjno/PTFakeTouchDemo\n- https://github.com/vviicc/BSUITest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaced%2Fptfaketouch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisaced%2Fptfaketouch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaced%2Fptfaketouch/lists"}