iPhone: error: request for member 'table' in something not a structure or union

Posted by Jack Griffiths on Stack Overflow See other posts from Stack Overflow or by Jack Griffiths
Published on 2010-04-25T13:51:21Z Indexed on 2010/04/25 13:53 UTC
Read the original article Hit count: 304

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

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk