---
title: localObjects
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsconnection/localobjects
---

# localObjects

The local objects that have been sent over the connection and still have proxies at the other end.

## Declaration

```occ
@property (copy, readonly) NSArray * localObjects;
```

## Discussion

Discussion When an object’s remote proxy is deallocated, a message is sent back to the receiver to notify it that the local object is no longer shared over the connection.

## See Also

### Getting a Remote Object

- [connectionWithRegisteredName:host:](foundation/nsconnection/connectionwithregisteredname:host:.md)
- [connectionWithRegisteredName:host:usingNameServer:](foundation/nsconnection/connectionwithregisteredname:host:usingnameserver:.md)
- [rootProxy](foundation/nsconnection/rootproxy.md)
- [rootProxyForConnectionWithRegisteredName:host:](foundation/nsconnection/rootproxyforconnectionwithregisteredname:host:.md)
- [rootProxyForConnectionWithRegisteredName:host:usingNameServer:](foundation/nsconnection/rootproxyforconnectionwithregisteredname:host:usingnameserver:.md)
- [remoteObjects](foundation/nsconnection/remoteobjects.md)
