Enums
The following enums are available globally.
-
Error code for keyboard dismissal actions.
See moreDeclaration
Objective-C
enum GREYKeyboardDismissalErrorCode {}Swift
enum GREYKeyboardDismissalErrorCode : Int
-
Directions for scrolling and swiping.
The direction describes the motion of the view port as a result of the swipe, which is opposite to the direction the user’s finger moves. For example, a scroll down the page should be expressed with @c kGREYDirectionDown as it simulates a touch that starts somewhere in the middle of the screen and moves up to simulate an absolute scroll down behavior.
See moreDeclaration
Objective-C
enum GREYDirection {} -
Directions for pinch gesture.
The direction describes the motion of the view port as a result of pinch. There are two possible directions for pinch action inward and outward.
See moreDeclaration
Objective-C
enum GREYPinchDirection {} -
Content edges for scrolling.
See moreDeclaration
Objective-C
enum GREYContentEdge {} -
Directions for layout specification.
See moreDeclaration
Objective-C
enum GREYLayoutDirection {} -
Layout attributes for matching on layouts (modelled after @c NSLayoutAttribute).
See moreDeclaration
Objective-C
enum GREYLayoutAttribute {} -
Layout relations for comparision of layout attributes (modelled after @c NSLayoutRelation).
See moreDeclaration
Objective-C
enum GREYLayoutRelation {} -
Types of tap actions
See moreDeclaration
Objective-C
enum GREYTapType {}
-
Error codes for element interaction failures.
See moreDeclaration
Objective-C
enum GREYInteractionErrorCode {}Swift
enum GREYInteractionErrorCode : Int
-
Error codes for scrolling related errors.
See moreDeclaration
Objective-C
enum GREYScrollErrorCode {}Swift
enum GREYScrollErrorCode : Int
-
Error codes for thread executor failures.
See moreDeclaration
Objective-C
enum GREYUIThreadExecutorErrorCode {}Swift
enum GREYUIThreadExecutorErrorCode : Int
View on GitHub
Enums Reference