enumerateWindows(options:using:)
Executes a block for each of the app’s windows.
Declaration
func enumerateWindows(options: NSApplication.WindowListOptions = [], using block: (NSWindow, UnsafeMutablePointer<ObjCBool>) -> Void)Parameters
- options:
A constant that indicates window ordering. See Windowlistoptions for possible values.
- block:
The block to execute for each window. The block takes the following parameters: