Instance Method

isFilePackageAtPath:

Determines whether the specified path is a file package.

Declaration

- (BOOL)isFilePackageAtPath:(NSString *)fullPath;

Parameters

fullPath

The full path to examine.

Return Value

YES if the path identifies a file package; otherwise, NO if the path does not exist, is not a directory, or is not a file package.

Discussion

It is safe to call this method from any thread of your app.

See Also

Requesting Information

- getInfoForFile:application:type:

Retrieves information about the specified file.

- URLForApplicationToOpenURL:

Returns the URL to the default app that would be used to open the given URL.

- fullPathForApplication:

Returns the full path for the specified app.

Deprecated
frontmostApplication

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

runningApplications

Returns an array of NSRunningApplication representing the running apps.

menuBarOwningApplication

Returns the app that owns the currently displayed menu bar.