Skip to content

A drop in replacement for UIWindow to draw touch points for app previews and promotional videos.

License

Notifications You must be signed in to change notification settings

Ideon/SmudgeKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A drop in replacement for UIWindow to draw touch points for app previews and promotional videos.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •