I am not able to include the particular controller inside my code but other controllers are included, I included the controller as header but I am not able to include it inside. I attach my code here, I am not able to include IndexPageTableViewController as favoritesViewController?
#import "IndexPageTableViewController.h"
#import "FavoritesViewController.h"
-(void) navigateToFavorites
{
UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"Main_iPhone"
bundle: nil];
if(mainStoryboard)
{
FavoritesViewController *favorites = (FavoritesViewController *) [mainStoryboard instantiateViewControllerWithIdentifier:@"FavoritesViewController"];
[[SlideNavigationController sharedInstance ] popToRootAndSwitchToViewController:favorites withSlideOutAnimation:NO andCompletion:^{
[self initTableView];
}];
}
}