Retrieves information about the specified file.
- macOS 10.0+
The full path to the desired file.
The app the system would use to open the file.
On input, a pointer to a string object variable; on return, if the method is successful, this variable contains a string object with the filename extension or encoded HFS file type of the file.
true if the information was retrieved successfully; otherwise,
false if the file could not be found or the app was not associated with the file.
It is safe to call this method from any thread of your app.