Instance Property

object

An object that the poster wishes to send to observers.

Declaration

var object: Any?

Discussion

Typically this is the object that posted the notification.

See Also

Getting Notification Information

var name: Notification.Name

A tag identifying the notification.

var userInfo: [AnyHashable : Any]?

Storage for values or objects related to this notification.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software