boyfarrell.com

29 October 2007

syntax error before ‘AT_NAME’ token

This means you have some junk in one of your header file that should be there.

Tip of the hat to Infurious Blog for pointing out one possible meaning of this error; a missing @end in an Objective-C class header file.

Another possibility for this (this took me an hour to find!) is that you have a curly bracket somewhere in you header file. For example, from cut and pasting your method definition from the implementation file into your header file.

No Comments currently posted.

Post a comment on this entry: