Quiz game help

Discussion in 'iOS Programming' started by RobertD63, Apr 13, 2009.

  1. RobertD63 macrumors 6502

    Feb 17, 2008
    A place
    Okay I'm by no means a programmer. Complete "Noob" to this but I really wanna learn. I downloaded a "template" app of a quiz game. At the end of the game it asks if you want to reset the game but right after that the game wont reset. I looked in the code and I have to write a rest. How would I do this? Its like a "generic" button so I cant use connection manager to connect it to reset the game somehow. Here is a link to the source code so.. Any help for the Noob would be appreciated!
    Source code
    Edit: I know some of the questions are wrong haha
  2. BlackWolf macrumors regular

    Apr 9, 2009
    of course it doesn't restart, your code says
    			// Create a restart game function.
    ... well, it's kinda obvious this won't work :D
    I could tell you how to reset your game, but you should really figure this out on your own. if you can't, then maybe this app is to complex for you right now and you should start off with something more easy.

    and btw: what makes you think that you can't use the "connection manager" (I suppose you mean outlets in the interface builder) for generic buttons? you can use outlets for EVERYTHING.

Share This Page