A drop in replacement for UIWindow to draw touch points for app previews and promotional videos.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Source-ObjectiveC
.gitignore
LICENSE
README.md
SmudgeKit.podspec

README.md

SmudgeKit

SmudgeKit provides a drop in replacement for UIWindow to draw visual representations of all touch events to the screen. Ideal for for creating App Previews or other screencasts where it is crucial to show touch gestures. Not intended for production use.

Originally built to preview The Converted, check the The Converted website for an example.

Usage

Objective-C

Add SmudgeKit to your Podfile.

pod 'SmudgeKit'

Or add SmudgyWindow.h and SmudgyWindow.m to your project.

Then implement the getter method of the window property in your Application Delegate:

#import "SmudgyWindow.h"

//

- (UIWindow *)window {
    if (!_window) {
        _window = [[SmudgyWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    return _window;
}

You can change the appearance by editing the SmudgeLayer implementation in SmudgyWindow.m

Swift

A swift framework with more features is in the works but not ready due to an apparent bug in the swift compiler.

Contact

Hans Petter Eikemo @hpeikemo Ideon

License

SmudgeKit is available under the MIT license. See the LICENSE file for details.