首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在HeaderDoc中添加多行注释

如何在HeaderDoc中添加多行注释
EN

Stack Overflow用户
提问于 2014-07-27 08:16:15
回答 1查看 633关注 0票数 1

这是我的密码

代码语言:javascript
复制
/**
 *    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...之间有新的行,因为它更容易阅读。

问题

这是可行的吗?如果是的话,怎么做呢?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-07-27 08:51:05

是的,AppleDoc支持多行注释。下面是你如何使用它们的方法:

代码语言:javascript
复制
 /**
 *    In touchesBegan: it is considered if it was succesfull click.
 *
 *    Automatically changes on/off images
 */

关键是在新的行上加上星号。您可能需要保存(Cmd+S)和/或清理(Cmd+Shift+K)您的项目才能在弹出窗口中看到结果。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24979166

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档