Type Property

currentApplication

Returns an NSRunningApplication representing this application.

Declaration

@property(class, readonly, strong) __kindof NSRunningApplication *currentApplication;

Return Value

An NSRunningApplication instance for the current application.

See Also

Getting Running Application Instances

+ runningApplicationWithProcessIdentifier:

Returns the running application with the given process identifier, or nil if no application has that pid.

+ runningApplicationsWithBundleIdentifier:

Returns an array of currently running applications with the specified bundle identifier.