Swiftpack.co - dmoroz0v/TouchesWindow as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by dmoroz0v.
dmoroz0v/TouchesWindow 1.0.0
Show touch and force-touch indicators for your iOS app. Have swift and obj-c versions
⭐️ 19
🕓 1 week ago
.package(url: "https://github.com/dmoroz0v/TouchesWindow.git", from: "1.0.0")

TouchesWindow

Show touch and force-touch indicators for your iOS app. Have swift and obj-c versions

How to use in swift

  1. Copy and paste DMZTouchesWindow.swift to your project

  2. Use in your project:

let window = DMZTouchesWindow(frame: UIScreen.main.bounds);
window.dmz_touchesEnabled = true
...

How to use in objc

  1. Copy and paste files DMZTouchesWindow.h, DMZTouchesWindow.m to your project

  2. Use in your project:

DMZTouchesWindow *window = [[DMZTouchesWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];
window.dmz_touchesEnabled = YES;
...

How it looks

alt tag

GitHub

link
Stars: 19
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

First SPM release
1 week ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics