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 this method successfully retrieved the information, or
false if it couldn't find the file or the app isn't associated with the file.
You can safely call this method from any thread of your app.