SwiftstructFoundation
struct Foundation.Notification
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolFoundation.ReferenceConvertible
- protocolSwift.CustomReflectable
- protocolSwift.CustomStringConvertible
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift._ObjectiveCBridgeable
Members 14
- func
static _conditionallyBridgeFromObjectiveC(_: NSNotification, result: inout Foundation.Notification?) -> Bool - func
static _forceBridgeFromObjectiveC(_: NSNotification, result: inout Foundation.Notification?) -> () - func
static _getObjectiveCType() -> Any.Type - func
static _unconditionallyBridgeFromObjectiveC(NSNotification?) -> Foundation.Notification - field
var name: NSNotificationName+0x0 - field
var object: Any?+0x8 - field
var userInfo: [AnyHashable : Any]?+0x28 - func
_bridgeToObjectiveC() -> NSNotification - init
init(name: NSNotificationName, object: Any?, userInfo: [AnyHashable : Any]?) -> Foundation.Notification - typealias
typealias ReferenceType = __C.NSNotification - typealias
typealias _ObjectiveCType = __C.NSNotification - var
var customMirror: Mirror { get } - var
var debugDescription: String { get } - var
var description: String { get }
Header
struct Notification { class Subscription<A> where A: Combine.Subscriber, A.Input == Foundation.Notification { let lock: Swift.UnsafeMutablePointer<__C.os_unfair_lock_s> let downstreamLock: Swift.UnsafeMutablePointer<__C.os_unfair_recursive_lock_s> var demand: Combine.Subscribers.Demand var center: __C.NSNotificationCenter? let name: __C.NSNotificationName var object: Swift.AnyObject? var observation: Swift.AnyObject? } var name: __C.NSNotificationName var object: Any? var userInfo: [Swift.AnyHashable : Any]? init(name: __C.NSNotificationName, object: Any?, userInfo: [Swift.AnyHashable : Any]?) var customMirror: Swift.Mirror { get } var debugDescription: Swift.String { get } var description: Swift.String { get } func _bridgeToObjectiveC() -> __C.NSNotification static func _getObjectiveCType() -> any Any.Type static func _forceBridgeFromObjectiveC(_: __C.NSNotification, result: inout Foundation.Notification?) static func _conditionallyBridgeFromObjectiveC(_: __C.NSNotification, result: inout Foundation.Notification?) -> Swift.Bool static func _unconditionallyBridgeFromObjectiveC(_: __C.NSNotification?) -> Foundation.Notification }