Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dmoroz0v/TouchesWindow

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published