尝试通过检查一些第 3 个库头文件将代码完成提示添加到我自己的 Objective-C 头文件中。查看 Xcode5 中是否存在类似于 VisualStudio 的代码完成标准。
我看到“//!描述”(没有配额)工作得很好。
//! well seems working as a code completion hint
-(void)myMethod:(BOOL)myParam1 (NSString*)myParam2;
我的问题 1:如何添加换行符?
//! well seems working as a code completion hint
//! but this second line seems added into first description in code completion hint
-(void)myMethod:(BOOL)myParam1 (NSString*)myParam2;
我的问题 2:寻找与此类似的标准
//! <method>myMethod:does something good.</method>
//! <param> (BOOL)myParam1:is first parameter </param>
//! <param> (NSString*)myParam2:is second parameter </param>
-(void)myMethod:(BOOL)myParam1 (NSString*)myParam2;
你可以给我一份关于“//!描述”(没有配额)的文档吗?寻找一些关于“如何在 xcode 中为objective-c编写代码添加描述标准”的标准
(分享任何想法和知识;谢谢。)