An alias for a type used to represent the name of a notification.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 8.0+
Framework
- Foundation
Declaration
typealias Notification.Name = NSNotification.Name
An alias for a type used to represent the name of a notification.
SDKs
Framework
typealias Notification.Name = NSNotification.Name
init(name: Notification .Name, object: Any?, user Info: [Any Hashable : Any]?)Initializes a new notification.
struct NSNotification .NameThe type used for the name of a notification.