Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as solved with 1 replies, 0 views
The app delegate callback is only used with NSDocument-based file-opening method, which requires configuring appropriate file types supported by the app in app's "Info.plist".
We can instead rely on NSOpenPanel for a customized file openning experience - write an @IBAction callback to be invoked when the open command is issued (from keyboard shortcut or app menu), and instantiate an NSOpenPanel to open the file.