Contents

init(name:)

Creates an expectation that is fulfilled when an NSNotification is posted from the default notification center by any object.

Declaration

convenience init(name notificationName: NSNotification.Name)

Parameters

  • notificationName:

    The notification name to watch for.

See Also

Creating NSNotification Expectations