A lightweight Swift package that tracks the number of active direct touches on the screen in real-time.
- Tracks number of simultaneous direct touches
- Thread-safe with
@MainActor
protection - Minimal performance impact using method swizzling
- Simple singleton API
Add this package to your Xcode project using Swift Package Manager:
dependencies: [
.package(url: "https://github.com/museapphq/TouchCounter", branch: "main")
]
This project is licensed under the MIT License - see the LICENSE.md file for details.