这是我的代码
/**
* In touchesBegan: it is considered if it was succesfull click. Automatically changes on/off images
*/
@interface WOC_OnOffImageButton : SKSpriteNode
当我在WOC_OnOffImageButton
内的弹出框中点按Description
时,我会在一行中获得In touchesBegan: it is considered if it was succesfull click. Automatically changes on/off images
。
我希望... click. Automatically...
之间有新的界限,因为它更容易阅读。
问题
它是否可行,如果可行,该如何做?
答案 0 :(得分:3)
是的,AppleDoc支持多行注释。以下是您使用它们的方式:
/**
* In touchesBegan: it is considered if it was succesfull click.
*
* Automatically changes on/off images
*/
关键是在新线上加上星号。您可能需要保存(Cmd+S
)和/或清理(Cmd+Shift+K
)项目以在弹出窗口中查看结果。