<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.0.0 - 10.13.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSConnectionDidInitializeNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSConnectionDidInitializeNotification"
  },
  "title" : "NSConnectionDidInitializeNotification"
}
-->

# NSConnectionDidInitializeNotification

Posted when an `NSConnection` object is initialized using [`initWithReceivePort:sendPort:`](/documentation/Foundation/NSConnection/initWithReceivePort:sendPort:) (the designated initializer for `NSConnection`). The notification object is the `NSConnection` object. This notification does not contain a `userInfo` dictionary.

```
extern NSString * const NSConnectionDidInitializeNotification;
```

## Discussion

## See Also

[`-  initWithReceivePort:sendPort:`](/documentation/Foundation/NSConnection/initWithReceivePort:sendPort:)

Returns an `NSConnection` object initialized with given send and receive ports.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)