I've been reading on eventLoops and still don't understand how I can start/stop an "infinite" loop via one (or two) NSButtons.
I have my action that a "Start" button is attached to, and in it I can change "Start" to "Stop". I could, at this time, start the loop, but I want to be able to click "Stop" to (naturally) stop the loop.
I could use NSTimer to run the loop (as opposed to using two threads) but how do I exit this Action when the "Stop" button is clicked?