The information in this topic may be out of date. The current SDK reference guide has moved here.

initWithRunner method

Class: EyesPlatform: XCUILanguage: Objective-C SDK:

This is the constructor for the Eyes class when using a runner.

This is the main class used for executing checkpoints using Eyes.

Syntax

Call syntax

EyesBase* eyes = [[Eyes alloc] initWithRunner  : runner   ];

Declaration

(instancetype)initWithRunner:(EyesRunner *)runner

Parameters

runner
Type:EyesRunner*
If this parameter is provided, it must be an instance of the ClassicRunner class.

Return value

Type: EyesBase*
Use the object returned to call the various methods provided by the Eyes class.