---
title: shared
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsworkspace/shared
---

# shared

The shared workspace object.

## Declaration

```swift
class var shared: NSWorkspace { get }
```

## Return Value

Return Value The NSWorkspace object associated with the process.

## Discussion

Discussion You can access this object safely from any thread in your app.

## See Also

### Related Documentation

- [Workspace Services Programming Topics](apple-archive/documentation/Cocoa/Conceptual/Workspace/introduction.html.md)
