我读过这个问题What are the new documentation commands available in Xcode 5?
.而且我已经倾斜了\n: doesn't generate a newline. One way to create a newline is by making sure nothing is on that line. Not even a single space character!
.但这只能在功能描述部分工作,而不能在参数说明部分工作.
我的问题是如何实现Apple的文档效果,如下所示:
先感谢您!
在Xcode中,LLDB可以在调试时通过expr命令更改变量值(请参阅在XCode中使用LLVM进行调试时如何更改变量值?).我使用此方法成功更改字符串值,但是当我将NSURL变量更改为新实例时,出现错误:
(lldb) expr url = [NSURL URLWithString:@"www.example.com"];
error: no known method '+URLWithString:'; cast the message send to the method's return type
error: 1 errors parsing expression
Run Code Online (Sandbox Code Playgroud)
我怎样才能将网址更改为新值?谢谢.