Как я могу добавить эти контроллеры четыре вида на массивДобавить контроллеры вида на массив
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]autorelease];
ContainerViewController *container= [[[ContainerViewController alloc]init]autorelease];
self.window.rootViewController = container;
NSMutableArray *controllers = [NSMutableArray array];
for (int i=0; i<23; i++)
{
First *first = [[First alloc] init];
Second *second = [[Second alloc] init];
Third *third = [[Third alloc] init];
Fourth *fourth = [[Fourth alloc] init];
[controllers addObject:first];
[controllers addObject:second];
[controllers addObject:third];
[controllers addObject:fourth];
}
[container setSubViewControllers:controllers];
[window makeKeyAndVisible];
return YES;
получаю желтое предупреждение, что метод экземпляра setSubViewController не найден по умолчанию типа возвращаемого значения для идентификатора
Спасибо за помощь.