GREYNot

@interface GREYNot : GREYBaseMatcher

A matcher to negate the result of another matcher.

  • @remark init is not an available initializer. Use the other initializers.

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()
  • Initializes this matcher with another @c matcher whose result is negated.

    Declaration

    Objective-C

    - (instancetype)initWithMatcher:(id<GREYMatcher>)matcher;

    Swift

    init!(matcher: Any!)

    Parameters

    matcher

    A matcher whose result will be negated.

    Return Value

    An instance of GREYNot, initialized with a matcher.