I have a "libsndfile" Automake based command like utility I ported to MAC OS Mavericks. I wrote a tiny GUI for it, to select a file in finder, using Xcode and NSOpenPanel class. My GUI povides me with the file name I select.
How do I tie the 2 pieces together? I want to create a DMG file which installs the GUI and command line utility, and calls that command line utility with the file name obtained from the GUI.
Example:
2014-04-02 03:37:23.775 Splitter[542:303] file:///Users/simon/src/libsndfile-1.0.25/RefFiles/take2_ch7n8.wav
is received from GUI. And then call the utility:
sndfile-deinterleave ./take2_ch7n8.wav
to split the file.
Sorry if this is a basic question. Do not have much experience with Xcode and OS-X Applications.