Мне интересно, почему дважды @interface. Один в class.h, другой в class.m. Например:
TestTableViewController.h:
#import <UIKit/UIKit.h>
@interface TestTableViewController : UITableViewController
@end
и (автоматически генерируется) class.m я нахожу:
#import "TestTableViewController.h"
@interface TestTableViewController ()
@end
@implementation TestTableViewController
... methods delegated from UITable delegates
@end
Итак, мой вопрос в том, о чем @interface TestTableViewController () в файле .m. Почему это там? Мне это нужно?
заранее спасибо