Instance Property


A tag identifying the notification.


var name: Notification.Name

See Also

Getting Notification Information

var object: Any?

An object that the poster wishes to send to observers.

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