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
⭐️ 20
🕓 1 year 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: 20
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

First SPM release
1 year ago

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