Instance Property


The object associated with the notification.


var object: Any? { get }


This is often the object that posted this notification.

Typically you use this method to find out what object a notification applies to when you receive a notification.

See Also

Getting Notification Information

var name: NSNotification.Name

The name of the notification.

var userInfo: [AnyHashable : Any]?

The user information dictionary associated with the notification.