Я получаю это предупреждение.
'- RespondsToSelector:' не найден в протоколе (ах)
Это происходит на линии, помеченной "ЗДЕСЬ" ниже.
- (NSString *)tableView:(UITableView *)tableView
titleForFooterInSection:(NSInteger)section {
id<SetsSectionController> sectionController =
[sectionControllers objectAtIndex:section];
if ([sectionController respondsToSelector:
@selector(tableView:titleForFooterInSection:)]) { //HERE
return [sectionController tableView:tableView
titleForFooterInSection:section];
}
return nil;
}
Вот мои полные h-файлы.
#import <UIKit/UIKit.h>
@interface SettingsTableViewController : UITableViewController {
NSArray *sectionControllers;
}
@end
Что мне нужно сделать, чтобы исправить ошибку?