I'm using Xcode 5, the problem is in the following two self.<something>
assignment statement Xcode says that expected expression, and also on return statement.
- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
self.questions = [NSArray arrayWithObjects: @"From what is cognac made?", @"What is 7+7?", @"What is the capital of Vermont?",nil];
self.answers = [NSArray arrayWithObjects: @"Grapes",@"14",@"Montpelier",nil];
}
return self;
}