views:

47

answers:

1

Hi Guys,

I met a problem in XCode. And my problem was similar to this one: http://www.iphonedevsdk.com/forum/iphone-sdk-development/40121-expected-specifier-qualifier-list-before.html

So I want to know how to solve the problem in the link above?

Thanks in advanced!

Nick

+2  A: 

The most common reason for this error is using a class name that is unknown at this point. Please double-check all your #import statements to see if you're missing any.

Edit: If this appears in a header file, you should probably use @class instead of #import, but make sure the corresponding #import exists in the .m file.

Kevin Ballard
Thank you, Kevin. I got it.
nickcheng