---
title: presentedViewControllers
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsviewcontroller/presentedviewcontrollers
---

# presentedViewControllers

The view controllers, if any, that are currently presented by the view controller.

## Declaration

```swift
var presentedViewControllers: [NSViewController]? { get }
```

## Discussion

Discussion There is a one-to-many relationship between the view controller whose presentedViewControllers property you are accessing, and the view controllers it is currently presenting.

## See Also

### Getting Related View Controllers

- [parent](appkit/nsviewcontroller/parent.md)
- [presentingViewController](appkit/nsviewcontroller/presentingviewcontroller.md)
