Skip to content
A dead simple Objective-C class to show multitouch events (for video tutorials).
Objective-C
Latest commit 6ba08fe Sep 8, 2015 @autresphere Merge pull request #4 from unash/master
handle touch in UITouchPhaseCancelled status.

Readme.md

ASTouchVisualizer

ASTouchVisualizer is a simple class that shows multitouch events on top of all your views.

It is used to create iPhone or iPad video tutorials on which finger movement is clearly seen.

It is dead simple to use in a project, no overloading needed. Just copy the file in your project and call the install method.

Try it

Download the whole project and run it under Xcode. You can choose either iPhone or iPad destination. It supports all orientations change.

Use it

Just copy ASTouchVisualizer.h and ASTouchVisualizer.m in your project.

In your App delegate, add

#import "ASTouchVisualizer.h"

then at the end of application:didFinishLaunchingWithOptions:, just call

[ASTouchVisualizer install];

Thanks to @ johnboiles, you can also uninstall it by calling

[ASTouchVisualizer uninstall];

Supported iOS

iOS 5.0 and above.

ARC Support

ASTouchVisualizer requires ARC. If you wish to use ASTouchVisualizer in a non-ARC project, just add the -fobjc-arc compiler flag to the ASTouchVisualizer.m class. To do this, go to the Build Phases tab in your target settings, open the Compile Sources group, double-click ASTouchVisualizer.m in the list and type -fobjc-arc into the popover.

Something went wrong with that request. Please try again.