What was once working code, is now not compiling. In my interface file I have a simple declaration as follows:
That come up as an error "syntax error before 'UIToolbarController'"
When I remove that declaration, the error goes away... However I needed that toolbar. If I declare the tool bar in my loadView method like so
The following errors appear.
'UIToolbarController' undeclared (first use in this function)
'toolbarController' undeclared (first use in this function)
Something else that broke. I have a navigation bar with it's style set to UIBarStyleRed. But the following error comes up now.
error: 'UIBarStyleRed' undeclared
The other styles work fine. Although I like the black style better now.
Anyone else experiencing issues?
Code:
UIToolbarController *toolbarController;
That come up as an error "syntax error before 'UIToolbarController'"
When I remove that declaration, the error goes away... However I needed that toolbar. If I declare the tool bar in my loadView method like so
Code:
UIToolbarController *toolbarController = [[UIToolbarController alloc] init];
The following errors appear.
'UIToolbarController' undeclared (first use in this function)
'toolbarController' undeclared (first use in this function)
Something else that broke. I have a navigation bar with it's style set to UIBarStyleRed. But the following error comes up now.
error: 'UIBarStyleRed' undeclared
The other styles work fine. Although I like the black style better now.
Anyone else experiencing issues?