Read-only mirror of github.com/ondeinference/xcrs-controlkit.
Mirrored from https://github.com/ondeinference/xcrs-controlkit.git
Synced Nov 24, 19:30 UTC
feature/macos-runner-automation
| 1 | # ControlKit iOS host app |
| 2 | |
| 3 | This folder holds the iOS / iPadOS host application (`ControlKitRunnerApp.swift` |
| 4 | and `Assets.xcassets`) for the `ControlKit-iOS` target in the shared |
| 5 | `XCRSControlKitRunner.xcodeproj`. |
| 6 | |
| 7 | Touch input is delivered through `XCUICoordinate` taps; the `home` button maps |
| 8 | to `XCUIDevice`. Swipes use `XCUICoordinate.press(forDuration:thenDragTo:)`, |
| 9 | orientation maps `PORTRAIT`/`LANDSCAPE` to `XCUIDevice.orientation`, and on iOS |
| 10 | 27.1 or later `device.hinge.get` reads `UIHinge` through a `UIHingeInteraction`. |
| 11 | The `hinge` capability is advertised only on a device that reports a hinge, such |
| 12 | as the iPhone Duo simulator. The JSON-RPC transport and server live in `../Shared` and are |
| 13 | compiled into the `ControlKit-iOS-UITests` target. |