{"id":25990064,"url":"https://github.com/robb/visualizetouches","last_synced_at":"2025-03-05T13:24:24.830Z","repository":{"id":280595197,"uuid":"942226702","full_name":"robb/visualizeTouches","owner":"robb","description":"Touch Visualization in SwiftUI","archived":false,"fork":false,"pushed_at":"2025-03-03T19:37:20.000Z","size":7,"stargazers_count":30,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T09:30:12.437Z","etag":null,"topics":["airplay","collaboration","debugging","ios","screenrecording","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"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/robb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["robb"]}},"created_at":"2025-03-03T19:22:39.000Z","updated_at":"2025-03-04T08:17:02.000Z","dependencies_parsed_at":"2025-03-04T09:40:52.367Z","dependency_job_id":null,"html_url":"https://github.com/robb/visualizeTouches","commit_stats":null,"previous_names":["robb/visualizetouches"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robb%2FvisualizeTouches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robb%2FvisualizeTouches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robb%2FvisualizeTouches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robb%2FvisualizeTouches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robb","download_url":"https://codeload.github.com/robb/visualizeTouches/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242032667,"owners_count":20060833,"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":["airplay","collaboration","debugging","ios","screenrecording","swiftui"],"created_at":"2025-03-05T13:24:24.239Z","updated_at":"2025-03-05T13:24:24.814Z","avatar_url":"https://github.com/robb.png","language":"Swift","funding_links":["https://github.com/sponsors/robb"],"categories":[],"sub_categories":[],"readme":"# `visualizeTouches()`\n\nThere's the kind of work that has your fingerprints all over it. However, Screen Recording only captures what happens under the glass, leaving people to guess where you put your fingers down. What if there was a better way?\n\nhttps://github.com/user-attachments/assets/9a6d43aa-9bfe-4b0a-8ba6-0690c0de71aa\n\nUsing the `visualizeTouches()` View modifier for SwiftUI, you can visualize touches when you're recording your screen or mirroring it, e.g. via AirPlay.\n\nThis happens automatically, normal use is not affected.\n\n```swift\nList {\n    Button(\"Hello\") {}\n    Button(\"Hello\") {}\n    Button(\"Hello\") {}\n}\n.visualizeTouches()\n```\n\nAdditionally, touches will be visualized in the iOS Simulator, to prevent overfitting your designs for the macOS cursor.\n\nIf you need more fine-grained control, there's an additional `visualizeTouches(_:)` overload that takes a `Bool` parameter.\n\n### See also\n\n- [TouchInspector](https://github.com/jtrivedi/TouchInspector) by [@jtrivedi](https://github.com/jtrivedi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobb%2Fvisualizetouches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobb%2Fvisualizetouches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobb%2Fvisualizetouches/lists"}