unash / ASTouchVisualizer

A dead simple Objective-C class to show multitouch events (for video tutorials).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A dead simple Objective-C class to show multitouch events (for video tutorials).

License:MIT License


Languages

Language:Objective-C 100.0%