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.
See Also
Requesting Information
urlForApplication(toOpen:)urlForApplication(toOpen:)urlForApplication(withBundleIdentifier:)urlsForApplications(toOpen:)urlsForApplications(toOpen:)urlsForApplications(withBundleIdentifier:)getFileSystemInfo(forPath:isRemovable:isWritable:isUnmountable:description:type:)isFilePackage(atPath:)runningApplicationsmenuBarOwningApplicationgetInfoForFile(_:application:type:)