Latest 0.1.0
License MIT
Platforms ios 9.0
Frameworks CoreImage


Add a floating fingertip & automate your app demo video using Xcode UI tests.

Check out our blog post for more info.



To run the example project, clone the repo, and run pod install from the Example directory first.


1. Create UI test target

If you don’t already have one, create a UI test target for your app.

2. Add Floater💩 to your app & UI test targets


Floater💩 is available through CocoaPods, however the pod should not simply be imported in its entirety. Rather, the two subspecs Floater💩/AppStuff and Floater💩/UITestStuff should each be included separately into your app target & UI test target, respectively.

# Podfile
target 'MyApp' do
    pod 'Floater💩/AppStuff'

target 'MyAppUITests' do
    pod 'Floater💩/UITestStuff'

Sans CocoaPods

  • Everything from Floater💩/Classes/AppStuff goes into your app target.
  • Everything from Floater💩/Classes/UITestStuff goes into your UI test target.
  • Everything from Floater💩/Classes/Shared goes into both your app target and your UI test target.
  • Add HSTestingBackchannel to both targets.

3. Use Floater💩Application as the application class


Remove @UIApplicationMain from your AppDelegate file, and create a main.swift file containing the following:

import Floater_

UIApplicationMain(Process.argc, Process.unsafeArgv, NSStringFromClass(Floater💩Application.self), NSStringFromClass(YOUR_APP_DELEGATE.self))


@import Floater_;

int main(int argc, char * argv[]) {
    @autoreleasepool {
        return UIApplicationMain(argc, argv, NSStringFromClass([FLTRApplication class]), NSStringFromClass([AppDelegate class]));


  1. Write UI tests!

    Write your UI tests as usual, with one difference: Use the float💩() method prior to each tap to move the floating fingertip between tap events.

    let awesomeButton = XCUIApplication().buttons["Awesome Button"]

    You can call this method on both XCUIElement and XCUICoordinate.

    If you’ve never written Xcode UI tests, check out the WWDC 2015 session UI Testing in Xcode.

  2. Run your tests in the simulator by hitting ⌘+U. You’ll be presented with the following prompt:


    Hit “Allow”. This is necessary for the test process to communicate with your app process.

  3. Use Quicktime Player to record your screen. Boom.

Latest podspec

    "name": "Floaterud83dudca9",
    "version": "0.1.0",
    "summary": "Leave a trail of fingerprints on your screen for app demos.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Dave Schukin": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "social_media_url": "",
    "platforms": {
        "ios": "9.0"
    "source_files": "Floaterud83dudca9/Classes/Shared/**/*",
    "frameworks": "CoreImage",
    "subspecs": [
            "name": "Shared",
            "source_files": "Floaterud83dudca9/Classes/Shared/**/*",
            "dependencies": {
                "HSTestingBackchannel": [
            "name": "AppStuff",
            "source_files": "Floaterud83dudca9/Classes/AppStuff/**/*",
            "dependencies": {
                "Floaterud83dudca9/Shared": []
            "name": "UITestStuff",
            "source_files": "Floaterud83dudca9/Classes/UITestStuff/**/*",
            "dependencies": {
                "Floaterud83dudca9/Shared": []
            "frameworks": "XCTest"

Pin It on Pinterest

Share This