So I was building this very simple (i'm a newbie) multview app and I got this error and I don't really know how to fix it.
Can someone pleas help me. The error is
"Expected ';' before 'interface' "
I get they want me to put a ";" but i am not sure where. Im pretty sure I am not supposed to put it before the actual word interface. ( If i am I am an idiot)
Heres the code:
Code:
#import <UIKit/UIKit.h>
@class SwitchClass
@interface Random1AppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
SwitchClass *switchClass;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet SwitchClass *switchClass;
@end
If you need to see something else please tell me and I will post it.
Thanks in advance.