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.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: