I'm collecting a string value in a method of my app, and as it closes, I need to pass the value back to the top level main. The reason for this is because I need to spawn a thread in a manner that can only be done from main.
Is there a way to do this? Since I am calling NSAplicationMain immediately, there doesn't seem to be a way to access the class representing my program from there.
Is there a way to do this? Since I am calling NSAplicationMain immediately, there doesn't seem to be a way to access the class representing my program from there.