The type used for the name of a notification.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Foundation
Declaration
struct Name
Overview
In Objective-C, NSNotification
names are type aliased to the NSString
class. In Swift, Notification
names use the nested NSNotification
type.