The error you posted indicates that you have a syntax error around your use of class
. Manually inspect the first location the error is reported, and you might notice the cause.
To help you debug further, please include the surrounding code so we can better help you.
Most common causes:
- Missed
@
in @class
for forward class declaration in headers
- Missed
;
after the declaration of an enum, a structure, or a typedef
- Copied C++ code, where
class
is used to declare a structure, but code is invalid in Objective-C
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…