Hi, The basic idea I have is to click on one button and enter an infinite loop. I plan to click on another button to stop and get out of this loop. Trouble is once I get into the infinite loop, my second click is never detected so I can't get out. Any idea's on how I can get this to work ? Thanks a ton.
-(IBAction) startButton {
while (1) {
// code
}
}
-(IBAction) stopButton {
NSLog(@" out of loop now");
}