Is there a way to achieve interoperability between Swift and C++? I.e. Is there a way I can access C++ class instances from Swift code?
Post
Replies
Boosts
Views
Activity
In MacOS, can the output from AVMIDIPlayer be redirected to a connected hardware MIDI instrument instead of the internal software MIDI instrument? Or do I have to resort to Core MIDI to accomplish that?
Newbie here.I created a test MacOS application project in Objective-C. XCode generated the basic classes including AppDelegate. The documentation says that when the app quits then the applicationWillTerminate message is sent to the NSApplicationDelegate, which is where my app cleanup code should go. But when I choose "Quit" in the "File" menu neither applicationShouldTerminate nor applicationWillTerminate are called. The app just quits. What is wrong here?By the way, applicationDidFinishLaunching is called, so I know my appDelegate object has been installed in the NSApp correctly.