views:

116

answers:

2

I have been working on this iPhone app for quite a while and everything has been working fine, but now all of the sudden, I am getting this error in a file I don't remember editing (nor do I remember editing anything relating to it, but it's possible.):

/Users/on_fire/BWOC 0.5/Classes/../BrowserViewController.h:29:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'interface'

It's referring to the first line in this:

@interface BrowserViewController : UIViewController <UIWebViewDelegate>{

UIWebView *webView;
NSString *urlString;
UIActivityIndicatorView *activityIndicator;
UIBarButtonItem *refreshButton;

}

Here is the whole file (Pastebin).
The pastebin also has a link to a zip of my project if anyone want's to have a look at the whole thing.

I understand if you would rather not download a zip, so if you need any other files, just let me know and I will put them up separately as well.

Any help is greatly appreciated!

A: 

I didn't see a zip link on the pastebin page, but is it possible that this file is being included in a non-.m file (ie, a straight C, instead of Objective-C, file)?

Ben Gottlieb
That would be my first guess, too.
Shaggy Frog
Thanks, but it's only being included from BrowserViewController.m http://pastebin.com/QLQAB547
On_fire
A: 

I know this doesn't help but the header file doesn't seem to be the cause of the problem, the syntax is right. Maybe check in the m file

Chris
I think you are right about BrowserViewController.m, though I wasn't able to find anything. http://pastebin.com/QLQAB547
On_fire