JVTouchEventsWindow

A simple UIWindow subclass to allow display tap/touches events in your project for demos

View project on GitHub

JVTouchEventsWindow

Version License Platform

JVTouchEventsWindow is a simple helper framework to display touch events within your projects/apps demos. It really comes handy when you want to show off your app and create a preview video/gif of your app.

Preview 1 - Touch/Click Me!

screenshot-1

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

  • Now, go to your AppDelegate.m file and add this simple function
- (JVTouchEventsWindow *)window
{
    static JVTouchEventsWindow *sharedWindow = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        sharedWindow = [[JVTouchEventsWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    });

    return sharedWindow;
}

Requirements

Developed and tested using iOS8+

Installation

JVTouchEventsWindow is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "JVTouchEventsWindow"

Author & Support

Contact me if you find any bugs or potential room for improvements. Jorge Valbuena (@JV17), jorgevalbuena2@gmail.com. BTW! You are welcome to help in supporting this pod or making improvements to it.

License

JVTouchEventsWindow is available under the MIT license. See the LICENSE file for more info.