Small library based on Facebook's Tweaks for improving screen sharing, presentations and recording by showing customizable touches on the screen.
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.
If you're not using Tweaks' shake window, just use TPFingerPresenter
class directly:
self.fingerPresenter = [[TPFingerPresenter alloc] initWithWindow:self.window];
TweaksPresentation is released under the MIT license. Go read the LICENSE file for more information.