Help to understand what the error is. I Firstvc
trying to make the UITableViewController
class the following code parent of the Firstvc
subclass:
#import <UIKit/UIKit.h> @interface Firstvc:NSObject{ @interface Firstvc:UITableViewController{ } @end
Swears at this line
@interface Firstvc:UITableViewController{
Here is what he writes
Expected specifier-qualifier-list before 'interface'
Where is the mistake? Maybe I have an old Xcode? Version 3.2.5. If so, how to do it?
@interface
for the same object in your code in a row. Something is not what you think? 2.<UIKit/UIKit.h>
and<Foundation/Foundation.h>
are different header files of different frameworks. - VioLet