XCNotificationExpectationHandler Block Reference

Declared in XCTestCase+AsynchronousTesting.h

Block Definition

XCNotificationExpectationHandler

@typedef A block to be invoked when a notification matching the specified name is observed from the object.

typedef BOOL (^XCNotificationExpectationHandler) (NSNotification *notification)

Discussion

@param notification The notification object.

@return Return YES if the expectation is fulfilled, NO if it is not.

Declared In

XCTestCase+AsynchronousTesting.h