这是我的代码
/**
* In touchesBegan: it is considered if it was succesfull click. Automatically changes on/off images
*/
@interface WOC_OnOffImageButton : SKSpriteNode
当我在
WOC_OnOffImageButton
内的弹出窗口中按ALT键单击Description
时,我一行都得到In touchesBegan: it is considered if it was succesfull click. Automatically changes on/off images
。我想在
... click. Automatically...
之间添加一行,因为它更易于阅读。问题
可以吗?如果可以,怎么办?
最佳答案
是的,AppleDoc支持多行注释。使用方法如下:
/**
* In touchesBegan: it is considered if it was succesfull click.
*
* Automatically changes on/off images
*/
关键是在新行上添加星号。您可能需要保存(
Cmd+S
)和/或清理(Cmd+Shift+K
)您的项目才能在弹出窗口中查看结果。
关于ios - 如何在HeaderDoc中添加多行注释,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24979166/