Skip to content

Small library based on Tweaks for improving screen sharing or recording presentation with visible touches

License

Notifications You must be signed in to change notification settings

pendowski/TweaksPresentation

Repository files navigation

TweaksPresentation

Small library based on Facebook's Tweaks for improving screen sharing, presentations and recording by showing customizable touches on the screen.

TweaksPresentation.gif

Usage

Easiest way is to use TPPresentationTweakShakeWindow as your main UIWindow subclass. It's a subclass of Tweaks' FBTweakShakeWindow with support for TweaksPresentation.

If you're using Storyboards implement window getter in your AppDelegate class.

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

You can similarly create new window with TPPresentationTweakShakeWindow class in - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions if you're not using Storyboards.

Custom UIWindow subclass

If you're not using Tweaks' shake window, just use TPFingerPresenter class directly:

self.fingerPresenter = [[TPFingerPresenter alloc] initWithWindow:self.window];

Licensing

TweaksPresentation is released under the MIT license. Go read the LICENSE file for more information.

About

Small library based on Tweaks for improving screen sharing or recording presentation with visible touches

Resources

License

Stars

Watchers

Forks

Packages