SwiftstructFoundation

struct Foundation.Notification

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 14

  1. funcstatic _conditionallyBridgeFromObjectiveC(_: NSNotification, result: inout Foundation.Notification?) -> Bool
  2. funcstatic _forceBridgeFromObjectiveC(_: NSNotification, result: inout Foundation.Notification?) -> ()
  3. funcstatic _getObjectiveCType() -> Any.Type
  4. funcstatic _unconditionallyBridgeFromObjectiveC(NSNotification?) -> Foundation.Notification
  5. fieldvar name: NSNotificationName+0x0
  6. fieldvar object: Any?+0x8
  7. fieldvar userInfo: [AnyHashable : Any]?+0x28
  8. func_bridgeToObjectiveC() -> NSNotification
  9. initinit(name: NSNotificationName, object: Any?, userInfo: [AnyHashable : Any]?) -> Foundation.Notification
  10. typealiastypealias ReferenceType = __C.NSNotification
  11. typealiastypealias _ObjectiveCType = __C.NSNotification
  12. varvar customMirror: Mirror { get }
  13. varvar debugDescription: String { get }
  14. varvar description: String { get }
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
}