Quote:
Originally Posted by thavok
as far as the guess count goes I though something like this might work but it doesn't do i need to create another label to display the counter.
|
I think you want to use stringWithFormat, like this:
Code:
if (num1 == randomNum)
{
guessOutput.text = [NSString stringWithFormat: @"You Guessed Right %d", guessCount];
}
Quote:
|
and one last question if i add a reset button do I just create an action to reset and pick a new random number like
|
That sounds about right, yeah.