Instance Property

frontmostApplication

Returns the frontmost app, which is the app that receives key events.

Declaration

var frontmostApplication: NSRunningApplication? { get }

Return Value

The running app instance for the app that receives key events.

Discussion

This value is key-value observing compliant.