---
title: allConnections
framework: foundation
role: symbol
role_heading: Type Method
path: foundation/nsconnection/allconnections
---

# allConnections

Returns all valid NSConnection objects in the process.

## Declaration

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

## Return Value

Return Value An array containing all valid NSConnection objects in the process.

## See Also

### Related Documentation

- [valid](foundation/nsconnection/valid.md)
