info:iOS5,xcode4.3.2,iphone5为什么在SUFirstViewController.m中生成这个特定的代码片段?
从xcode模板向导创建选项卡视图控制器应用程序。
下面的代码得到了生成(我为这篇文章截断了一些)。
=== SUFirstViewController.h
#import <UIKit/UIKit.h>
@interface SUFirstViewController : UIViewController
@end
=== SUFirstViewController.m
#import "SUFirstViewController.h"
@interface SUFirstViewController()
@end
@implementation SUFirstViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
@end
===
我的问题是关于这个代码片段:
@interface SUFirstViewController()
@end
为什么在SUFirstViewControlle中生成这个特定的代码片段? R M ?
我可以删除它吗?
我该如何使用它?