Hey,
I have an issue by setting the delegate property for a ViewController which is presented modally. The code below is a modified copy of the example code for Presenting a View Controller Modally.
AddContactPersonTableViewController *addController = [[AddContactPersonTableViewController alloc] initWithNibName:@"AddContactPersonTableViewController" bundle:nil];
addController.delegate = self;
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:addController];
[self presentModalViewController:navigationController animated:YES];
[navigationController release];
[addController release];
For addController.delegate = self;
there is the error: "Request for member 'delegate' in something not a structure or union"
I don't know how to solve this. Maybe you can solve it ;)