Instance Method

activeApplication()

Returns a dictionary with information about the current active app.

Declaration

func activeApplication() -> [AnyHashable : Any]?

Return Value

A dictionary with information about the app. The dictionary contains as many of the keys described in Table 1 as are available.

See Also

Deprecated

func mountedRemovableMedia() -> [Any]?

Returns the full pathnames of all currently mounted removable disks.

Deprecated
func mountedLocalVolumePaths() -> [Any]?

Returns the mount points of all local volumes, not just the removable ones returned by mountedRemovableMedia().

Deprecated
NSWorkspaceApplicationKey User Info Key

This constant is supplied in the userInfo dictionary of various notifications.