XCKeyValueObservingExpectationHandler Block Reference
Declared in | XCTestCase+AsynchronousTesting.h |
---|
Block Definition
XCKeyValueObservingExpectationHandler
@typedef A block to be invoked when a change is observed for the keyPath of the observed object.
typedef BOOL (^XCKeyValueObservingExpectationHandler) (id observedObject, NSDictionary *change)
Discussion
@param observedObject The observed object, provided to avoid block capture issues.
@param change The KVO change dictionary.
@return Return YES if the expectation is fulfilled, NO if it is not.
Declared In
XCTestCase+AsynchronousTesting.h