Contents

XCTKeyPathExpectation

An expectation that a specific key-value observing (KVO) condition fulfills.

Declaration

final class XCTKeyPathExpectation<T, V> where T : NSObject

Overview

Use an instance of this class to asynchronously wait for changes to a property you specify by key path for a given object. When the value of the property changes, the expectation compares the new value using a predicate or expected value you provide.

Topics

Creating key path expectations

Expectation properties

See Also

Related Documentation

Key Value Observing Expectations