init
TypeScriptstatic initNameObject(aName: NSNotification_Name, anObject?: (unknown) | null): NSNotificationSwift declarationconvenience init(name aName: NSNotification.Name, object anObject: Any?)class · SDK 27.1
class NSNotificationstatic initNameObject(aName: NSNotification_Name, anObject?: (unknown) | null): NSNotificationSwift declarationconvenience init(name aName: NSNotification.Name, object anObject: Any?)static initCoder(coder: NSCoder): (NSNotification) | nullSwift declarationinit?(coder: NSCoder)static initNameObjectUserInfo(name: NSNotification_Name, object?: (unknown) | null, userInfo?: (NativeMap<unknown, unknown>) | null): NSNotificationSwift declarationinit(name: NSNotification.Name, object: Any?, userInfo: [AnyHashable : Any]? = nil)get name(): NSNotification_NameSwift declarationvar name: NSNotification.Name { get }get object(): (unknown) | nullSwift declarationvar object: Any? { get }get userInfo(): (NativeMap<unknown, unknown>) | nullSwift declarationvar userInfo: [AnyHashable : Any]? { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSNotification.init()
inherited init: cannot prove legal (class declares 2 custom initializers)