iPhone: error: request for member 'table' in something not a structure or union
- by Jack Griffiths
Hi there,
When it comes to compiling my application, I get the error mentioned in the title. How would I go about remedying this error? Basically, I want to get from one table to the other. Hierarchy, navigation.
NextViewController.m
#import "RootViewController.h"
#import "NextViewController.h"
@implementation NextViewController
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
// Release anything that's not essential, such as cached data
}
- (void)dealloc {
[super dealloc];
}
- (IBAction) changeTable:(NSString *)str{
tblCSS.table = str;
}
The last line contains the error.
If you need any more code, just ask. I'll amend this post with it.
Cheers,
Jack