Newbie, just learning xcode, cocoa (25 years Cobol programming).
Wrote a small game, cannot figure out how, when game is won, to click a button and start a new game?
Also, I have a 'Quit' button that goes to code that does "exit(0)" - Is this the easiest way to exit (besides red button at top)?
Thanks, I know the answer must be something very basic.
Wrote a small game, cannot figure out how, when game is won, to click a button and start a new game?
Also, I have a 'Quit' button that goes to code that does "exit(0)" - Is this the easiest way to exit (besides red button at top)?
Thanks, I know the answer must be something very basic.