presentedViewControllers
The view controllers, if any, that are currently presented by the view controller.
Declaration
var presentedViewControllers: [NSViewController]? { get }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.