Skip to content

Instantly share code, notes, and snippets.

@marslin1220
Created February 21, 2020 08:30
Show Gist options
  • Save marslin1220/94761fe4a06cc8c71e920e631851e3c0 to your computer and use it in GitHub Desktop.
Save marslin1220/94761fe4a06cc8c71e920e631851e3c0 to your computer and use it in GitHub Desktop.
// 1.
@available(iOS 13.0, *)
func testMeasureSPFCascadeScrollingAsAnXtraUser() {
// 2.
measure(metrics: [SlowFrameMetric()]) {
app.launch()
// interact with the app, like scrolling or swiping
app.terminate()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment