Search code examples
objective-cxcodexcode4

A basic objective-C code from tutorial can not run


I'm totally new to this language, please pardon me for this trivial question.

I was following a tut which the provide the following code:

a screen shot of error code

I guess that looking at the screen shot you know what issue I'm encountering with ?


Solution

  • Nothing wrong with the code. Magically I rewrite the code by HAND, it works without error, I guess there could be hidden characters that come with code when I copy it from multiple pdf pages.