#pragma mark not listing the first group name

血红的双手。 提交于 2019-12-03 04:45:06

Yes it is a Bug here.

But you can override this bug to your requirement by just adding {} in your interface .h file/ as well as in implementation / .m file :

@implementation AppDelegate
{}

#pragma mark -
#pragma mark Category 1

-(void)awakeFromNib{

}

Also, no need to use two #pragma, you can combine both of them into one as :

#pragma mark - Category 1

Another clean way to go : just add a simple ;.

@implementation AppDelegate;

#pragma mark - Category 1
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!