UPDATE: All working now, forgot to link up the view in the .xib file.
I have imported my view controller’s implementation files like so;
#import "TopicsListParentViewController.h"
When I write:
TopicsListParentViewController *tlparentview;
There are no errors at first, but then when building the project, this error appears:
Unknown type name ‘TopicsListParentViewController’; did you mean ‘TopicsListViewController’?
Why is this and how can I fix it? Here’s a screenshot to help you imagine the scene more accurately:

EDIT: Here are the .h and .m for “TopicsListParentViewController”
.h Implementation File:
//
// TopicsListParentViewController.h
//
// Created by James Anderson on 27/04/2012.
// Copyright (c) 2012 PixelBit Apps Ltd. All rights reserved.
//
#import "SuperChatAppDelegate.h"
#import "TopicsListViewController.h"
@interface TopicsListParentViewController : UIViewController {
IBOutlet UIView *parentview;
IBOutlet TopicsListViewController *topicsListViewController;
}
@end
.m Implementation File:
//
// TopicsListParentViewController.m
//
// Created by James Anderson on 27/04/2012.
// Copyright (c) 2012 PixelBit Apps Ltd. All rights reserved.
//
#import "TopicsListParentViewController.h"
@implementation TopicsListParentViewController
-(void)viewDidLoad
{
[parentview addSubview:topicsListViewController.tableView];
NSLog(@"Added subview");
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations.
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
- (void)dealloc {
[super dealloc];
}
@end
Double check to make sure your files properly have.
and