Currently there is a button on my app inteface which allow to open a file, here is my open code:
In my app.h:
- (IBAction)selectFile:(id)sender; <
- (IBAction)selectFile:(id)sender;
for a quick&dirty solution:
Cocoa: Drag and Drop any file type
Tested under Xcode Version 11.4 (11E146) catalina 10.15.4 (19E266)