I have followed the tutorial:
http://www.edumobile.org/iphone/iphone-programming-tutorials/a-simple-stopwatch-for-iphone
and I get 1 error and 1 warning, both on the same line 71
for (int i = [timeArray count] – 1; i >= 0; i–) {
error – a parse issue Expected )
warning – Unused entity issue Expression result unused
Any ideas what is wrong?
Change this,
to,
Compiler is saying that it is not able to parse the character ‘–’. If it is not able to recognize the for loop syntax and parse it, it will throw this error.