<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.0.0 - 10.13.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSConnection/allConnections",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSConnection(cm)allConnections"
  },
  "title" : "allConnections"
}
-->

# allConnections

Returns all valid `NSConnection` objects in the process.

```
+ (NSArray<NSConnection *> *) allConnections;
```

## Return Value

An array containing all valid `NSConnection` objects in the process.

## See Also

[`@property (readonly, getter=isValid) BOOL valid;`](/documentation/Foundation/NSConnection/valid)

A Boolean value that indicates whether the receiver is known to be valid.



---

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)