In my iOS5 app, I have NSObject States class, and trying to init it:
NSObject
States
states = [states init];
here is init
init
I was trying to use @class "Myclass.h".
@class "Myclass.h"
When I changed it to #import "Myclass.h", it worked fine.
#import "Myclass.h"