Enums

The following enums are available globally.

  • Error code for keyboard dismissal actions.

    See more

    Declaration

    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 more

    Declaration

    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 more

    Declaration

    Objective-C

    enum GREYPinchDirection {}
  • Content edges for scrolling.

    See more

    Declaration

    Objective-C

    enum GREYContentEdge {}
  • Directions for layout specification.

    See more

    Declaration

    Objective-C

    enum GREYLayoutDirection {}
  • Layout attributes for matching on layouts (modelled after @c NSLayoutAttribute).

    See more

    Declaration

    Objective-C

    enum GREYLayoutAttribute {}
  • Layout relations for comparision of layout attributes (modelled after @c NSLayoutRelation).

    See more

    Declaration

    Objective-C

    enum GREYLayoutRelation {}
  • Types of tap actions

    See more

    Declaration

    Objective-C

    enum GREYTapType {}
  • Error codes for element interaction failures.

    See more

    Declaration

    Objective-C

    enum GREYInteractionErrorCode {}

    Swift

    enum GREYInteractionErrorCode : Int
  • Error codes for scrolling related errors.

    See more

    Declaration

    Objective-C

    enum GREYScrollErrorCode {}

    Swift

    enum GREYScrollErrorCode : Int
  • Error codes for thread executor failures.

    See more

    Declaration

    Objective-C

    enum GREYUIThreadExecutorErrorCode {}

    Swift

    enum GREYUIThreadExecutorErrorCode : Int