Skip to content

Instantly share code, notes, and snippets.

@pstasiak

pstasiak/snappyTest.swift Secret

Created Jun 12, 2017
Embed
What would you like to do?
func testExample() {
recordMode = true
let window = UIWindow()
window.makeKeyAndVisible()
window.rootViewController = ExampleViewController(nibName: nil, bundle: nil)
verifyViewSnaps([DeviceRack.iPhone.screen4_0], view: window) //Taking snapshot
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.