I have a code lie this:
its code from tutorial i am doing right now, i have old version of xcode (4.2) and this is not working:
How can i write it without using "@"
Code:
// Initialize List View Controller
MTListViewController *listViewController = [[MTListViewController alloc] init];
// Initialize Navigation Controller
UINavigationController *listNavigationController = [[UINavigationController alloc] initWithRootViewController:listViewController];
// Initialize Tab Bar Controller
UITabBarController *tabBarController = [[UITabBarController alloc] init];
// Configure Tab Bar Controller
[tabBarController setViewControllers:@[listNavigationController]];
its code from tutorial i am doing right now, i have old version of xcode (4.2) and this is not working:
Code:
[tabBarController setViewControllers:@[listNavigationController]]
How can i write it without using "@"