Contents

post(_:subject:)

Posts a given asynchronous message to the notification center.

Declaration

func post<Message>(_ message: Message, subject: Message.Subject) where Message : NotificationCenter.AsyncMessage, Message.Subject : AnyObject

Parameters

  • message:

    The message to post.

  • subject:

    The subject instance that corresponds to the message.

See Also

Posting notification messages